package com.ruoyi.db.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道账户信息对象 lq_account_channel_info
 * 
 * @author ruoyi
 * @date 2023-08-28
 */
public class AccountChannelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户ID */
    private Long id;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String name;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal totalAmount;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String remarkInfo;

    /** 所属用户id */
    @Excel(name = "所属用户id")
    private Long ownerId;

    /** 所属用户名称 */
    @Excel(name = "所属用户名称")
    private String ownerName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setRemarkInfo(String remarkInfo) 
    {
        this.remarkInfo = remarkInfo;
    }

    public String getRemarkInfo() 
    {
        return remarkInfo;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName) 
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName() 
    {
        return ownerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("totalAmount", getTotalAmount())
            .append("remarkInfo", getRemarkInfo())
            .append("ownerId", getOwnerId())
            .append("ownerName", getOwnerName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
